﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.ComponentModel;

namespace Kokomo.Mirror.CliMetadata.Tables
{
	public class EventRow : IMetadataRow
	{
		[ConstantField(typeof(short))]
		public EventAttributes EventFlags { get; set; }
		public StringRef Name { get; set; }
		[CodedIndex(CodedIndexType.TypeDefOrRef)]
		public CodedIndex EventType { get; set; }

		public override string ToString(MetadataContainer container)
		{
			return container.GetString(this.Name);
		}
	}
}
